<?php


class Rating_Ui{
	
	private $rating;
	
	public function __construct(Rating $rating) {
		$this->rating = $rating;	
	}
	
	public function getRatingList($rating=false,$ratingicon=false,$date=false,$daterelative=false){
		
		$title = Title_Bd::getTitle($this->rating->getIdTitle());
		$titleUi = new Title_Ui($title);
		
		$html = $titleUi->getTitleForList($this->rating,$rating,$ratingicon,$date,$daterelative);
		
		return $html;
		
		
	}
	

}
?>